from django.urls import path
from .views import *

urlpatterns = [
    path('register/', RegisterView.as_view()),  # 注册
    path('login/', LoginView.as_view()),  # 登录
    path('coach/', CoachView.as_view()),  # 教练
    path('coach_take/', CoachTakeView.as_view()),  # 抢课
    path('order/', OrderView.as_view()),  # 下课课
    path('order_list/', OrderListView.as_view()),  # 展示订单详情
    path('user_account/', UserAccountView.as_view()),  # 展示本店所有收益 (总额度)
    path('good_coach/', GoodCoachView.as_view()),  # 展示优秀教练
    path('good_user/', GoodUserView.as_view()),  # 展示有钱学员
    path('combine/', CombineView.as_view()),  # 展示有钱学员
]
